package cn.midas.basic.utils;

import lombok.Data;

@Data
public class AjaxResult {
    private Boolean success = true;
    private String massage = "操作成功！";

    public static AjaxResult me(){
       return new AjaxResult();
    }

    public AjaxResult setSuccess(Boolean success) {
        this.success = success;
        return this;
    }

    public AjaxResult setMassage(String massage) {
        this.massage = massage;
        return this;
    }
}
